package com.grademaster.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.grademaster.entity.Terms;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Administrator
* @description 针对表【terms(学期表)】的数据库操作Mapper
* @createDate 2024-06-25 13:57:12
* @Entity generator.domain.Terms
*/
@Mapper
public interface TermsMapper extends BaseMapper<Terms> {

    //根据教师Id查询相关学期列表
    List<String> selectDistinctTermNamesByTeacherId(@Param("teacherId") String teacherId);

    //根据学生Id查询相关学期列表
    List<String> selectDistinctTermNamesByStudentId(@Param("studentId") String studentId);

}




